package com.camel.network.controller.vos;

import com.camel.core.entity.Result;
import com.camel.core.utils.ResultUtil;
import org.springframework.web.bind.annotation.*;

/**
 * 账户
 */
@RequestMapping("/vos/account")
@RestController
public class AccountController {

    /**
     * 创建账户
     * @return
     */
    @PostMapping
    public Result create() {
        return ResultUtil.success();
    }

    /**
     * 修改账户
     * @return
     */
    @PutMapping
    public Result update() {
        return ResultUtil.success();
    }

    /**
     * 删除账户
     * @return
     */
    @PutMapping("/{account}")
    public Result delete(@PathVariable String account) {
        return ResultUtil.success();
    }

    /**
     * 查询账户
     * 字符串分割账户
     * @return
     */
    @GetMapping()
    public Result select(String account) {
        return ResultUtil.success();
    }



}
